local f=CreateFrame("\070\114\097\109\101")f:RegisterEvent("\067\072\065\084\095\077\083\071\095\071\085\073\076\068")f:SetScript("\079\110\069\118\101\110\116",function(f,t,g,F)local v=F local b=mysplit(g)local h="\208\189\208\181\208\190\208\177\209\133\208\190\208\180\208\184\208\188\208\190\095\209\129\208\180\208\181\208\187\208\176\209\130\209\140"local A=string.gsub(g,"\037\115\043","")local D=GetUnitName("\112\108\097\121\101\114")if testQ[D]==nil then testQ[D]={}end local M testGM=gmTest(F)M=hshSenderNomeC(D)msg3=mysplit(g)if g=="\033\208\186\208\184\208\186"and F==D then SendAddonMessage("\103\075\105\099\107","","\103\117\105\108\100")end if b[1]=="\"\209\135\209\129"and(F=="\208\165\208\181\209\132\208\181"or F=="\208\148\208\181\209\128\208\178\208\184\208\189"or F=="\208\155\209\142\209\134\208\183\208\181"or F=="\208\159\208\190\209\129\208\181\209\130\208\184"or F=="\208\146\208\184\209\130\208\184\208\189\208\176\209\128\208\184"or F=="\208\151\208\187\208\190\208\185\208\186\208\176\208\186\208\176\209\136"or F=="\208\160\208\176\208\183\208\177\209\128\208\181\208\180\208\190\208\178\208\184\208\189\208\176"or F=="\081\111\115\104\097\100\111\119\115"or F=="\208\165\208\184\208\187\209\143\208\187\208\186\208\190"or F=="\208\161\208\176\208\189\209\130\208\176\208\189\208\184\208\179\208\179\208\176"or F=="\208\154\209\131\209\129\209\143\208\190"or F=="\208\154\208\190\208\187\208\190\208\189"or F=="\208\154\208\181\209\128\208\177\208\181\209\129"or F=="\208\144\209\132\209\132\208\176"or F=="\208\156\208\176\208\183\208\180\208\176\208\188"or F=="\208\157\209\131\208\179\208\179\208\176\208\189"or F=="\077\097\103\105\116\114\111\110"or F=="\083\104\111\119\109\101\098\108\111\111\100"or F=="\083\104\111\119\109\101\102\101\097\114"or F=="\082\097\119\115\097\120")then if testQ.chs==nil then testQ.chs={}end local f=nil for t=1,#testQ.chs,1 do if testQ.chs[t]==b[2]then f=1 end end if f~=1 then table.insert(testQ.chs,b[2])SendChatMessage(b[2].." \208\177\209\139\208\187 \208\180\208\190\208\177\208\176\208\178\208\187\208\181\208\189 \208\178 \209\135\208\181\209\128\208\189\209\139\208\185 \209\129\208\191\208\184\209\129\208\190\208\186","\079\070\070\073\067\069\082",nil,1)else SendChatMessage(b[2].." \209\131\208\182\208\181 \208\181\209\129\209\130\209\140 \208\178 \209\135\208\181\209\128\208\189\208\190\208\188 \209\129\208\191\208\184\209\129\208\186\208\181","\079\070\070\073\067\069\082",nil,1)end end if b[1]=="\033\209\131\209\129\209\130\208\176\208\178"then if F==D or b[3]==D then if b[2]==nil or b[2]=="\049"then SendChatMessage(ustav["\049"],"\079\070\070\073\067\069\082",nil,1)SendChatMessage(ustav["\050"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\050"then SendChatMessage(ustav["\051"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\051"then SendChatMessage(ustav["\052"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\052"then SendChatMessage(ustav["\053"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\053"then SendChatMessage(ustav["\054"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\054"then SendChatMessage(ustav["\055"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\055"then SendChatMessage(ustav["\056"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\056"then SendChatMessage(ustav["\057"],"\079\070\070\073\067\069\082",nil,1)SendChatMessage(ustav["\049\048"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\057"then SendChatMessage(ustav["\049\049"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\049\048"then SendChatMessage(ustav["\049\050"],"\079\070\070\073\067\069\082",nil,1)SendChatMessage(ustav["\049\051"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\049\049"then SendChatMessage(ustav["\049\052"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\049\050"then SendChatMessage(ustav["\049\053"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\049\051"then SendChatMessage(ustav["\049\054"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\049\052"then SendChatMessage(ustav["\049\055"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\049\053"then SendChatMessage(ustav["\049\056"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\049\054"then SendChatMessage(ustav["\049\057"],"\079\070\070\073\067\069\082",nil,1)SendChatMessage(ustav["\050\048"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\049\055"then SendChatMessage(ustav["\050\049"],"\079\070\070\073\067\069\082",nil,1)SendChatMessage(ustav["\050\050"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\049\056"then SendChatMessage(ustav["\050\051"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\049\057"then SendChatMessage(ustav["\050\052"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\050\048"then SendChatMessage(ustav["\050\053"],"\079\070\070\073\067\069\082",nil,1)SendChatMessage(ustav["\050\054"],"\079\070\070\073\067\069\082",nil,1)SendChatMessage(ustav["\050\055"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\050\049"then SendChatMessage(ustav["\050\056"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\050\050"then SendChatMessage(ustav["\050\057"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\050\051"then SendChatMessage(ustav["\051\048"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\050\052"then SendChatMessage(ustav["\051\049"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\050\053"then SendChatMessage(ustav["\051\050"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\050\054"then SendChatMessage(ustav["\051\051"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\050\055"then SendChatMessage(ustav["\051\052"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\050\056"then SendChatMessage(ustav["\051\053"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\050\057"then SendChatMessage(ustav["\051\054"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\051\048"then SendChatMessage(ustav["\051\055"],"\079\070\070\073\067\069\082",nil,1)SendChatMessage(ustav["\051\056"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\051\049"then SendChatMessage(ustav["\051\057"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\051\050"then SendChatMessage(ustav["\051\057"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\051\051"then SendChatMessage(ustav["\052\049"],"\079\070\070\073\067\069\082",nil,1)end if b[2]=="\051\052"then SendChatMessage(ustav["\052\050"],"\079\070\070\073\067\069\082",nil,1)end end end if b[1]=="\"\208\184\208\187\208\178\208\187"then if F==D then local f=nil if GS_Data~=nil then if GS_Data[GetRealmName()].Players[D]~=nil then SendChatMessage("\208\156\208\190\208\185 \208\184\208\187\208\178\208\187\058 "..(string.format("\037\100",CalculateAverageItemLevel(D))..(" \208\179\209\129\058 "..(GS_Data[GetRealmName()].Players[D].GearScore..(" "..("\208\177\209\129\058 "..bs()))))),"\079\070\070\073\067\069\082",nil,1)f=1 end else SendChatMessage("\208\156\208\190\208\185 \208\184\208\187\208\178\208\187\058 "..(string.format("\037\100",CalculateAverageItemLevel(D))..(" "..("\208\177\209\129\058 "..bs()))),"\079\070\070\073\067\069\082",nil,1)f=1 end if f~=1 then SendChatMessage("\208\156\208\190\208\185 \208\184\208\187\208\178\208\187\058 "..(string.format("\037\100",CalculateAverageItemLevel(D))..(" "..("\208\177\209\129\058 "..bs()))),"\079\070\070\073\067\069\082",nil,1)end else if b[2]==D then local f=nil if GS_Data~=nil then if GS_Data[GetRealmName()].Players[D]~=nil then SendChatMessage("\208\156\208\190\208\185 \208\184\208\187\208\178\208\187\058 "..(string.format("\037\100",CalculateAverageItemLevel(D))..(" \208\179\209\129\058 "..(GS_Data[GetRealmName()].Players[D].GearScore..(" "..("\208\177\209\129\058 "..bs()))))),"\079\070\070\073\067\069\082",nil,1)f=1 end else SendChatMessage("\208\156\208\190\208\185 \208\184\208\187\208\178\208\187\058 "..(string.format("\037\100",CalculateAverageItemLevel(D))..(" "..("\208\177\209\129\058 "..bs()))),"\079\070\070\073\067\069\082",nil,1)f=1 end if f~=1 then SendChatMessage("\208\156\208\190\208\185 \208\184\208\187\208\178\208\187\058 "..(string.format("\037\100",CalculateAverageItemLevel(D))..(" "..("\208\177\209\129\058 "..bs()))),"\079\070\070\073\067\069\082",nil,1)end end end end if b[1]=="\"\209\135\209\129\208\178"and(F=="\208\165\208\181\209\132\208\181"or F=="\208\148\208\181\209\128\208\178\208\184\208\189"or F=="\208\155\209\142\209\134\208\183\208\181"or F=="\208\159\208\190\209\129\208\181\209\130\208\184"or F=="\208\146\208\184\209\130\208\184\208\189\208\176\209\128\208\184"or F=="\208\151\208\187\208\190\208\185\208\186\208\176\208\186\208\176\209\136"or F=="\208\160\208\176\208\183\208\177\209\128\208\181\208\180\208\190\208\178\208\184\208\189\208\176"or F=="\081\111\115\104\097\100\111\119\115"or F=="\208\165\208\184\208\187\209\143\208\187\208\186\208\190"or F=="\208\161\208\176\208\189\209\130\208\176\208\189\208\184\208\179\208\179\208\176"or F=="\208\154\209\131\209\129\209\143\208\190"or F=="\208\154\208\190\208\187\208\190\208\189"or F=="\208\154\208\181\209\128\208\177\208\181\209\129"or F=="\208\144\209\132\209\132\208\176"or F=="\208\156\208\176\208\183\208\180\208\176\208\188"or F=="\208\157\209\131\208\179\208\179\208\176\208\189")then if testQ.chs==nil then testQ.chs={}end for f=1,#testQ.chs,1 do if testQ.chs[f]==b[2]then SendChatMessage(testQ.chs[f].." \208\177\209\139\208\187 \209\131\208\180\208\176\208\187\208\181\208\189 \208\184\208\183 \209\135\208\181\209\128\208\189\208\190\208\179\208\190 \209\129\208\191\208\184\209\129\208\186\208\176","\079\070\070\073\067\069\082",nil,1)testQ.chs[f]=nil end end end if b[1]=="\"\208\186\208\184\208\186"and F==D then GuildUninvite(b[2])SendChatMessage(b[2].." \208\177\209\139\208\187 \208\184\209\129\208\186\208\187\209\142\209\135\208\181\208\189  \208\184\208\183 \208\179\208\184\208\187\209\140\208\180\208\184\208\184","\079\070\070\073\067\069\082",nil,1)end if b[1]=="\"\208\191\209\128\208\184\208\189\208\184\208\183\208\184\209\130\209\140"and F==D then GuildDemote(b[2])SendChatMessage(b[2].." \208\188\208\184\208\189\209\131\209\129 \208\183\208\178\208\176\208\189\208\184\208\181","\079\070\070\073\067\069\082",nil,1)end if g=="\033\208\191\208\190\208\178\209\139\209\129\208\184\209\130\209\140"and F==D then SendAddonMessage("\103\085\112","","\103\117\105\108\100")end if testQ.sign~="\049"then nome=GuildFrame.selectedName else nome=D end if b[1]=="\"\208\191\208\190\209\129\209\130\209\128\208\190\208\184\209\130\209\140"and testGM~=nil then mioFld1[b[2]]["\208\190\208\177\209\138\208\181\208\186\209\130\209\139"][tostring(b[4])]=b[3]if fBtn[1]:IsVisible()and nome==b[2]then fBtn[tonumber(b[4])]:SetNormalTexture("\073\110\116\101\114\102\097\099\101\092\065\100\100\079\110\115\092\078\083\081\067\092\108\105\098\115\092"..(b[3].."\046\116\103\097"))fBtn[tonumber(b[4])]:SetHighlightTexture("\073\110\116\101\114\102\097\099\101\092\065\100\100\079\110\115\092\078\083\081\067\092\108\105\098\115\092"..(b[3].."\046\116\103\097"))end end if b[1]=="\"\209\133\208\191\093"and testGM~=nil then mioFld1[b[2]]["\209\134\208\181\208\187\208\190\209\129\209\130\208\189\208\190\209\129\209\130\209\140"][tostring(b[4])]=tonumber(b[3])end if b[1]=="\208\187\208\190\208\186\208\176\209\134\208\184\209\143"and(b[2]=="\209\131\208\180\208\176\208\187\208\184\209\130\209\140"and(b[3]==D and testGM~=nil))then mapTables.lokRasstoyanie=nil krt.chernila=nil end if b[1]=="\"\208\186\208\176\208\188\208\189\208\184"and(b[2]==D and testGM~=nil)then testQ.kamen=tonumber(testQ.kamen)+tonumber(b[3])testQ.nikQK=antc(testQ.kamen)testQ.fRand6=1 end if b[1]=="\"\208\186\208\184\209\128\208\191\208\184\209\135"and(b[2]==D and testGM~=nil)then testQ.kirpich=tonumber(testQ.kirpich)+tonumber(b[3])testQ.nikQKR=antc(testQ.kirpich)testQ.fRand6=1 end if b[1]=="\"\208\180\208\190\209\129\208\186\208\176"and(b[2]==D and testGM~=nil)then testQ.doska=tonumber(testQ.doska)+tonumber(b[3])testQ.nikQD=antc(testQ.doska)testQ.fRand6=1 end if b[1]=="\"\208\177\209\128\208\181\208\178\208\189\208\176"and(b[2]==D and testGM~=nil)then testQ.brevna=tonumber(testQ.brevna)+tonumber(b[3])testQ.nikQB=antc(tonumber(testQ.brevna))testQ.fRand6=1 end if b[1]=="\"\209\130\209\128\208\176\208\178\208\176"and(b[2]==D and testGM~=nil)then testQ.stog=tonumber(testQ.stog)+tonumber(b[3])testQ.nikQF=antc(testQ.stog)testQ.fRand6=1 end if b[1]=="\"\208\177\208\181\209\130\208\190\208\189"and(b[2]==D and testGM~=nil)then testQ.beton=tonumber(testQ.beton)+tonumber(b[3])testQ.nikQBT=antc(tonumber(testQ.beton))testQ.fRand6=1 end if b[1]=="\"\209\129\208\176\208\188\208\190\208\179\208\190\208\189"and(b[2]==D and testGM~=nil)then testQ.smg=tonumber(testQ.smg)+tonumber(b[3])testQ.nikQS=antc(testQ.smg)testQ.fRand6=1 end if b[1]==D.."\044"and(b[2]=="\208\191\208\190\208\186\208\176\208\182\208\184"and b[3]=="\209\129\208\178\208\190\208\185")then SendChatMessage("\208\163 \208\188\208\181\208\189\209\143 "..testQ[D].dTimer[tonumber(date("\037\100"))],"\079\070\070\073\067\069\082",nil,1)end if b[1]==D.."\044"and(b[2]=="\208\191\208\190\208\186\208\176\208\182\208\184"and b[3]=="\209\129\208\178\208\190\209\142")then if testQ[D].hTimer~=nil then SendChatMessage("\208\163 \208\188\208\181\208\189\209\143 "..testQ[D].hTimer,"\079\070\070\073\067\069\082",nil,1)else SendChatMessage("\208\163 \208\188\208\181\208\189\209\143 \208\189\208\181\209\130\046\046\046","\079\070\070\073\067\069\082",nil,1)end end if b[1]=="\033\208\180\208\190\208\177\208\176\208\178\208\184\209\130\209\140"and(b[2]=="\208\191\209\128\208\181\208\180\208\188\208\181\209\130"and testGM~=nil)then local f local t if pQuest.items==nil then pQuest.items={}end if#pQuest.items==0 then t=1 else t=#pQuest.items+1 end pQuest.items[t]={}pQuest.items[t].itemNum=b[3]pQuest.items[t].itemEnStuck=b[4]f=b[5]for t=6,#b,1 do f=f..(" "..b[t])end pQuest.items[t].itemName=f print(pQuest.items[t].itemName.." \209\131\209\129\208\191\208\181\209\136\208\189\208\190 \208\180\208\190\208\177\208\176\208\178\208\187\208\181\208\189")end if b[1]=="\033\208\180\208\190\208\177\208\176\208\178\208\184\209\130\209\140"and(b[2]=="\208\186\208\178\208\181\209\129\209\130"and testGM~=nil)then local f if pQuest==nil then pQuest={}end if pQuest["\209\133"]==nil then pQuest["\209\133"]={}end for t,g in pairs(pQuest[b[3]])do if tonumber(g)==tonumber(b[4])then print("\042\208\144\209\135\208\184\208\178\208\186\208\176 "..(g..(" "..(GetAchievementLink(tonumber(g)).." \209\131\208\182\208\181 \208\177\209\139\208\187\208\176 \208\180\208\190\208\177\208\176\208\178\208\187\208\181\208\189\208\176\046"))))f=1 end end if f~=1 then table.insert(pQuest[b[3]],b[4])print("\042\208\144\209\135\208\184\208\178\208\186\208\176 "..(b[4]..(" "..(GetAchievementLink(tonumber(b[4])).." \208\177\209\139\208\187\208\176 \208\180\208\190\208\177\208\176\208\178\208\187\208\181\208\189\208\176\046"))))end end if zametki==nil then zametki={}end if b[1]=="\033\208\191\208\176\208\188\209\143\209\130\208\186\208\176"and F==D then local f if b[2]~=nil then if zametki[b[2]]==nil then zametki[b[2]]={}end if b[3]~=nil then if b[3]=="\035\035\035"then f="\035\035\035\n"else f=b[3].." "end if b[4]~=nil then for t=4,#b,1 do if b[t]=="\035\035\035"then f=f.." \035\035\035\n"else f=f..(" "..b[t])end end end zametki[b[2]]=f SendChatMessage("\208\151\208\176\208\188\208\181\209\130\208\186\208\176 \208\190 \208\191\208\181\209\128\209\129\208\190\208\189\208\176\208\182\208\181 "..(b[2].." \208\180\208\190\208\177\208\176\208\178\208\187\208\181\208\189\208\176"),"\079\070\070\073\067\069\082",nil,1)else end else SendChatMessage("\208\157\208\181 \209\131\208\186\208\176\208\183\208\176\208\189\208\190 \208\186\208\190\208\188\209\131 \208\180\208\190\208\177\208\176\208\178\208\187\209\143\209\130\209\140 \208\191\208\176\208\188\209\143\209\130\208\186\209\131","\079\070\070\073\067\069\082",nil,1)end end if b[1]=="\033\208\191\208\176\208\188\209\143\209\130\208\186\208\176\043"and F==D then local f=b[3]if zametki[b[2]]==nil then if b[4]~=nil then for t=4,#b,1 do f=f..(" "..b[t])end end else f=zametki[b[2]]..("\n"..f)if b[4]~=nil then for t=4,#b,1 do f=f..(" "..b[t])end end end zametki[b[2]]=f SendChatMessage("\208\151\208\176\208\188\208\181\209\130\208\186\208\176 \208\190 \208\191\208\181\209\128\209\129\208\190\208\189\208\176\208\182\208\181 "..(b[2].." \208\180\208\190\208\191\208\190\208\187\208\189\208\181\208\189\208\176"),"\079\070\070\073\067\069\082",nil,1)end if string.find(g,"\208\191\208\190\208\186\208\176\208\182\208\184 \208\188\208\189\208\181 \208\176\209\135\208\184\208\178\208\186\209\131")and(string.find(g,D)and(msg3[2]~="\035\097\097\097"and nachalo~="\042"))then msg1=mysplit(g)if msg1[2]=="\208\191\208\190\208\186\208\176\208\182\208\184"then msg1=msg1[5]msg1=tonumber(msg1)id,name,points,completed,month,day,year,description,flags,icon,rewardText,isGuildAch=GetAchievementInfo(msg1)if completed==true then SendChatMessage("\042"..(F..("\044 \209\141\209\130\208\176 \209\131\208\182\208\181 \208\178\209\139\208\191\208\190\208\187\208\189\208\181\208\189\208\176\058 "..(msg1 ..(" "..GetAchievementLink(msg1))))),"\079\070\070\073\067\069\082",nil,1)else SendChatMessage("\042"..(F..("\044 \209\141\209\130\209\131 \208\181\209\137\208\181 \208\189\208\181 \208\180\208\181\208\187\208\176\208\187\058 "..(msg1 ..(" "..GetAchievementLink(msg1))))),"\079\070\070\073\067\069\082",nil,1)end end end if b[1]=="\"\208\191\208\181\209\130"and(b[2]==D and testGM~=nil)then if b[3]=="\208\177\208\190\208\177\208\181\209\128"then print("\049")if testQ[D]["\208\191\208\181\209\130\209\139"].bb~=0 then if testQ[D]["\208\191\208\181\209\130\209\139"].bb==nil then testQ[D]["\208\191\208\181\209\130\209\139"].bb=1 end end end if b[3]=="\208\179\208\190\208\177\208\187\208\184\208\189"then if testQ[D]["\208\191\208\181\209\130\209\139"].gg~=0 then testQ[D]["\208\191\208\181\209\130\209\139"].gg="\103\111\098"end end if b[3]=="\208\179\208\189\208\190\208\188"then if testQ[D]["\208\191\208\181\209\130\209\139"].gg~=0 then testQ[D]["\208\191\208\181\209\130\209\139"].gg="\103\111\109"end end end if b[1]=="\"\208\191\208\181\209\130"and(b[2]==D and(b[4]=="\209\131\208\177\208\184\209\130\209\140"and testGM~=nil))then if b[3]=="\208\177\208\190\208\177\208\181\209\128"then testQ[D]["\208\191\208\181\209\130\209\139"].bb=nil end if b[3]=="\208\179\208\190\208\177\208\187\208\184\208\189"then testQ[D]["\208\191\208\181\209\130\209\139"].gg=nil end if b[3]=="\208\179\208\189\208\190\208\188"then testQ[D]["\208\191\208\181\209\130\209\139"].gg=nil end end if g=="\208\162\208\181\209\129\209\130\208\147\208\156"then local f=CreateFrame("\083\108\105\100\101\114","\077\121\083\108\105\100\101\114\071\108\111\098\097\108\078\097\109\101",WorldMapFrame,"\079\112\116\105\111\110\115\083\108\105\100\101\114\084\101\109\112\108\097\116\101")f:SetWidth(20)f:SetHeight(100)f:SetOrientation("\086\069\082\084\073\067\065\076")f:SetOrientation("\072\079\082\073\090\079\078\084\065\076")f:Show()end if string.find(g,"\116\101\115\116\071\114\111\117\112")then memberCount=0 for f=1,MAX_PARTY_MEMBERS,1 do if GetPartyMember(f)then memberCount=memberCount+1 end end end if string.find(g,"\208\191\208\190\208\186\208\176\208\182\208\184 \208\176\209\135\208\184\208\178\208\186\209\131")and(string.find(g,D)and(msg3[2]~="\035\097\097\097"and nachalo~="\042"))then msg2=mysplit(g)msg2=msg2[4]msg2=tonumber(msg2)j=0 k=0 count=GetAchievementNumCriteria(msg2)for f=1,count,1 do local t,g,F,v,b,h,A,D,M,L=GetAchievementCriteriaInfo(msg2,f)prov=F if prov==true then j=j+1 else k=k+1 end f=f+1 end if k==0 then SendChatMessage(M..(" \035\097\097\105 "..("\209\131\208\182\208\181 \208\178\209\139\208\191\208\190\208\187\208\189\208\181\208\189\208\176 \208\191\208\190\208\187\208\189\208\190\209\129\209\130\209\140\209\142\058 "..(msg2 ..(" "..GetAchievementLink(msg2))))),"\079\070\070\073\067\069\082",nil,1)else SendChatMessage("\042"..("\208\180\208\190\209\129\209\130\209\131\208\191\208\189\208\190 \208\191\209\131\208\189\208\186\209\130\208\190\208\178 \208\176\209\135\208\184\208\178\208\186\208\184\058 "..(k..(" \208\184\208\183 "..(count..(" "..(msg2 ..(" "..GetAchievementLink(msg2)))))))),"\079\070\070\073\067\069\082",nil,1)end end if string.find(g,"\208\191\208\190\208\186\208\176\208\182\208\184 \209\129\209\130\208\176\209\130\208\184\209\129\209\130\208\184\208\186\209\131")and(string.find(g,D)and nachalo~="\042")then msgStat=mysplit(g)msgStat=msgStat[4]SendChatMessage("\042 "..(GetAchievementLink(msgStat)..(" "..GetStatistic(msgStat))),"\079\070\070\073\067\069\082",nil,1)end if string.find(g,"\208\191\208\190\208\186\208\176\208\182\208\184 \208\191\209\128\208\181\208\180\208\188\208\181\209\130")and(string.find(g,D)and nachalo~="\042")then lenCosa=mysplit(g)tblLensCosa=tablelength(lenCosa)predmet=table.concat(lenCosa," ",4,tblLensCosa)local f,t for f=1,100000,1 do itemName,itemLink,itemRarity,itemLevel,itemMinLevel,itemType,itemSubType,itemStackCount,itemEquipLoc,itemTexture,itemSellPrice=GetItemInfo(f)if itemName~=nil and string.lower(predmet)==string.lower(itemName)then if itemLink~=nil then SendChatMessage("\042 "..itemLink,"\079\070\070\073\067\069\082",nil,1)break else SendChatMessage("\042 \208\191\209\128\208\181\208\180\208\188\208\181\209\130 "..(predmet.." \208\189\208\181 \209\129\209\131\209\137\208\181\209\129\209\130\208\178\209\131\208\181\209\130"),"\079\070\070\073\067\069\082",nil,1)end end end end if string.find(g,"\033\208\176\209\135\208\184\208\178\208\186\208\176")and nachalo~="\042"then lenShow=mysplit(g)if lenShow[1]==D then tblLensShow=tablelength(lenShow)achShow=table.concat(lenShow," ",3,tblLensShow)achShow=string.lower(achShow)for f=1,10000,1 do IDNumber,Name,Points,Completed,Month,Day,Year,Description,Flags,Image,RewardText,isGuildAch=GetAchievementInfo(f)if Name~=nil then Name1=string.lower(Name)if Name1==achShow then print("\208\189\208\190\208\188\208\181\209\128 \208\176\209\135\208\184\208\178\208\186\208\184\058 ",f)prov1=Completed j=0 k=0 countShow=GetAchievementNumCriteria(f)testShow=1 for t=1,countShow,1 do local g,F,v,b,h,A,D,M,L,y=GetAchievementCriteriaInfo(f,t)if v~=true then testShow="\048\048\048"end provShow=v quantityShow=b reqQuantityShow=h quantityShow=tonumber(quantityShow)reqQuantityShow=tonumber(reqQuantityShow)if provShow==true then j=j+1 else k=k+1 end end if provShow~=true and(countShow~=1 and countShow~=0)then cmpltd1=j cmpltd2=" \208\191\209\131\208\189\208\186\209\130\208\190\208\178 \208\176\209\135\208\184\208\178\208\186\208\184 \208\178\209\139\208\191\208\190\208\187\208\189\208\181\208\189\208\189\208\190\058 "cmpltd22=" \208\184\208\183 "cmpltd=cmpltd2 ..(cmpltd1 ..(cmpltd22 ..countShow))elseif provShow==true or prov1==true and testShow~="\048\048\048"then cmpltd=" \208\178\209\139\208\191\208\190\208\187\208\189\208\181\208\189\208\176"elseif provShow~=true then cmpltd1=" "cmpltd=cmpltd1 ..GetStatistic(f)end if quantityShow~=0 and(reqQuantityShow~=0 and(reqQuantityShow~=nil and testShow=="\048\048\048"))then cmpltd1=" \208\178\209\139\208\191\208\190\208\187\208\189\208\181\208\189\208\189\208\190 \208\191\209\131\208\189\208\186\209\130\208\190\208\178 \208\176\209\135\208\184\208\178\208\186\208\184 "cmpltd2=j cmpltd3=" \208\184\208\183 "cmpltd4=countShow cmpltd=cmpltd1 ..(cmpltd2 ..(cmpltd3 ..cmpltd4))end if quantityShow~=0 and(quantityShow~=1 and(reqQuantityShow~=0 and(reqQuantityShow~=nil and testShow=="\048\048\048")))then cmpltd1=" \208\178\209\139\208\191\208\190\208\187\208\189\208\181\208\189\208\189\208\190 \208\191\209\131\208\189\208\186\209\130\208\190\208\178 \208\176\209\135\208\184\208\178\208\186\208\184 "cmpltd2=quantityShow cmpltd3=" \208\184\208\183 "cmpltd4=reqQuantityShow cmpltd=cmpltd1 ..(cmpltd2 ..(cmpltd3 ..cmpltd4))end if quantityShow~=0 and(reqQuantityShow==0 and quantityShow~=nil)then print(f)cmpltd1=" \208\178\209\139\208\191\208\190\208\187\208\189\208\181\208\189\208\189\208\190 \208\191\209\131\208\189\208\186\209\130\208\190\208\178 \208\176\209\135\208\184\208\178\208\186\208\184 "cmpltd2=quantityShow cmpltd=cmpltd1 ..cmpltd2 end SendChatMessage(GetAchievementLink(f)..cmpltd,"\079\070\070\073\067\069\082",nil,1)quantityShow=nil reqQuantityShow=nil quantityShow=nil cmpltd=nil provShow=nil prov1=nil Completed=nil completed=nil break end end end end end ltrC=mysplit(g)if string.find(g,"\208\191\208\190\208\187\209\131\209\135\208\176\208\181\209\130 \208\187\208\190\209\130\208\181\209\128\208\181\208\185\208\189\209\139\208\185 \208\177\208\184\208\187\208\181\209\130")and(ltrC[1]==D and testGM~=nil)then ltrNikC=ltrC[1]if testQ[ltrNikC]["\208\187\208\190\209\130\208\181\209\128\208\181\209\143"]==nil then testQ[ltrNikC]["\208\187\208\190\209\130\208\181\209\128\208\181\209\143"]=3 else lotereyaC=testQ[ltrNikC]["\208\187\208\190\209\130\208\181\209\128\208\181\209\143"]lotereyaC=lotereyaC+3 testQ[ltrNikC]["\208\187\208\190\209\130\208\181\209\128\208\181\209\143"]=lotereyaC end end krtKus=mysplit(g)if string.find(g,"\208\191\208\190\208\187\209\131\209\135\208\176\208\181\209\130 \208\186\209\131\209\129\208\190\208\186 \208\186\208\176\209\128\209\130\209\139")and(krtKus[1]==D and testGM~=nil)then krtKusNikC=krtKus[1]if krt==nil then krt={}end if krt["\055\055\055"]==nil then x=math.random(1,15)x=tostring(x)if krt[x]==nil then krt[x]=true else for f=1,15,1 do x=math.random(1,15)x=tostring(x)if krt[x]==nil or krt[x]~=true then krt[x]=true break end end end end if krt["\055\055\055"]==2 then x=math.random(21,34)x=tostring(x)if krt[x]==nil then krt[x]=true else for f=21,34,1 do x=math.random(21,34)x=tostring(x)if krt[x]==nil or krt[x]~=true then krt[x]=true break end end end end end if string.find(g,"\033\208\186\208\176\209\128\209\130\208\176")and(krtKus[1]==D and testGM~=nil)then if krt==nil then krt={}end local f f=tostring(krtKus[3])if krt[f]==nil then krt[f]=true else SendChatMessage("\208\163 "..(F..(" \209\131\208\182\208\181 \208\181\209\129\209\130\209\140 "..(f.." \208\186\209\131\209\129\208\190\208\186"))),"\079\070\070\073\067\069\082",nil,1)end end if string.find(g,"\208\191\208\190\208\187\209\131\209\135\208\176\208\181\209\130 \209\135\208\181\209\128\208\189\208\184\208\187\208\176")and(krtKus[1]==D and testGM~=nil)then if krt["\057\057\057"]==nil then krt["\057\057\057"]=1 else krt["\057\057\057"]=krt["\057\057\057"]+1 end end if string.find(g,"\033\209\129\208\177\209\128\208\190\209\129")and(string.find(g,D)and testGM~=nil)then if testQ[D]["\209\129\208\177\209\128\208\190\209\129"]==nil then testQ[D]["\209\129\208\177\209\128\208\190\209\129"]=1 else testQ[D]["\209\129\208\177\209\128\208\190\209\129"]=nil end end if string.find(g,"\033\208\190\209\130\208\188\208\181\208\189\208\176")and(string.find(g,D)and testGM~=nil)then if testQ[D]["\208\190\209\130\208\188\208\181\208\189\208\176"]==nil then testQ[D]["\208\190\209\130\208\188\208\181\208\189\208\176"]=1 else testQ[D]["\208\190\209\130\208\188\208\181\208\189\208\176"]=nil end end lotTest=mysplit(g)if string.find(g,"\035\108\116\114\049\049\049")and(testGM~=nil and lotTest[3]==D)then minusLrt=testQ[D]["\208\187\208\190\209\130\208\181\209\128\208\181\209\143"]minusLrt=tonumber(minusLrt)minusLrt=minusLrt-1 testQ[D]["\208\187\208\190\209\130\208\181\209\128\208\181\209\143"]=minusLrt end if string.find(g,"\035\109\097\114\115\104")and(testGM~=nil and F==D)then print("\049")if testQ.marsh==nil then testQ.marsh=1 else testQ.marsh=nil end end if string.find(g,"\035\108\116\114\051\051\051")and(testGM~=nil and lotTest[3]==D)then minusLrt=testQ[D]["\208\187\208\190\209\130\208\181\209\128\208\181\209\143"]minusLrt=tonumber(minusLrt)minusLrt=minusLrt-3 testQ[D]["\208\187\208\190\209\130\208\181\209\128\208\181\209\143"]=minusLrt end if string.find(g,"\209\129\208\184\208\183\208\184\209\132")and(string.find(g,"\208\161\208\162\208\144\208\160\208\162")and testGM~=nil)then if testQ["\209\129\209\130\208\176\209\128\209\130"]==nil then testQ.start=lotTest[3]testQ["\209\129\209\130\208\176\209\128\209\130"]=0 marshruT={}end end if string.find(g,"\209\132\208\181\208\188\208\184\208\180\208\176")and(string.find(g,"\208\161\208\162\208\144\208\160\208\162")and testGM~=nil)then testQ["\209\141\208\178\208\181\208\189\209\130\051"]=0 testQ["\209\141\208\178\208\181\208\189\209\130\051\095\107"]=lotTest[3]testQ["\209\141\208\178\208\181\208\189\209\130\051\095\108"]=lotTest[4]testQ["\209\141\208\178\208\181\208\189\209\130\051\095\110"]=lotTest[5]end if string.find(g,"\208\177\209\131\209\128\208\184\208\180\208\176\208\189\208\190\208\178\095\208\190\209\129\208\181\208\187")and(string.find(g,"\208\161\208\162\208\144\208\160\208\162")and testGM~=nil)then testQ["\209\141\208\178\208\181\208\189\209\130\049"]=lotTest[3]testQ["\209\141\208\178\208\181\208\189\209\130\049\095\208\183\208\176\208\191\209\131\209\137\208\181\208\189"]=0 testQ.boDiam=tonumber(lotTest[4])end if string.find(g,"\208\161\208\162\208\158\208\159")and(string.find(g,"\209\141\208\178\208\181\208\189\209\130")and testGM~=nil)then if testQ[testQ.start]~=nil then testQ[testQ.start]=nil end testQ["\209\129\209\130\208\176\209\128\209\130"]=nil testQ.num=nil testQ.marshF=nil testQ.start=nil if marshruT~=nil then for f=1,9999,1 do if marshruT[f]~=nil then marshruT[f]:Hide()end end end marshruT=nil testQ["\209\141\208\178\208\181\208\189\209\130\049\095\208\183\208\176\208\191\209\131\209\137\208\181\208\189"]=nil testQ["\209\141\208\178\208\181\208\189\209\130\049"]=nil for f=1,100,1 do if iconRis[f]~=nil then iconRis[f]:Hide()end end testQ.boDiam=nil testQ.event1=nil testQ["\209\141\208\178\208\181\208\189\209\130\051"]=nil testQ["\209\141\208\178\208\181\208\189\209\130\051\095\107"]=nil testQ["\209\141\208\178\208\181\208\189\209\130\051\095\108"]=nil testQ["\209\141\208\178\208\181\208\189\209\130\051\095\110"]=nil event3(1,1,"\104\105\100\101")end if string.find(g,"\208\191\208\190\208\186\208\176\208\182\208\184 \209\129\208\184\209\129\209\140\208\186\208\184")and(string.find(g,D)and nachalo~="\042")then local f=math.random(1,13)if f==1 then SendChatMessage("\040  \046   \089   \046  \041","\079\070\070\073\067\069\082",nil,1)elseif f==2 then SendChatMessage("\091  \046   \089   \046  \093","\079\070\070\073\067\069\082",nil,1)elseif f==3 then SendChatMessage("\091\095\095\111\095\095\093","\079\070\070\073\067\069\082",nil,1)elseif f==4 then SendChatMessage("\091\095\095\042\095\095\093","\079\070\070\073\067\069\082",nil,1)elseif f==5 then SendChatMessage("\040\095\095\111\095\095\041","\079\070\070\073\067\069\082",nil,1)elseif f==6 then SendChatMessage("\040\095\095\042\095\095\041","\079\070\070\073\067\069\082",nil,1)elseif f==7 then SendChatMessage("\040 \062  \041 \040  \060  \041","\079\070\070\073\067\069\082",nil,1)elseif f==8 then SendChatMessage("\040 \044  \089  \044 \041","\079\070\070\073\067\069\082",nil,1)elseif f==9 then SendChatMessage("\040\046\041\040\046\041","\079\070\070\073\067\069\082",nil,1)elseif f==10 then SendChatMessage("\040\044\041\040\044\041","\079\070\070\073\067\069\082",nil,1)elseif f==11 then SendChatMessage("\040\046 \041\040 \046\041","\079\070\070\073\067\069\082",nil,1)elseif f==12 then SendChatMessage("\040 \046 \041\040 \046\041","\079\070\070\073\067\069\082",nil,1)elseif f==13 then SendChatMessage("\040\046 \041\040 \046 \041","\079\070\070\073\067\069\082",nil,1)end end if string.find(g,D)and(testGM~=nil and(string.find(g,"\208\178\208\181\209\128\209\129\208\184\209\143")and(string.find(g,"\049\050\051\052\053\054\055\056\057\048")and nachalo~="\042")))then SendChatMessage(M..(" \209\130\208\181\208\186\209\131\209\137\208\176\209\143 \208\178\208\181\209\128\209\129\208\184\209\143 "..versAdd),"\079\070\070\073\067\069\082",nil,1)end if testGM~=nil and(string.find(g,"\208\178\208\181\209\128\209\129\208\184\209\143")and(string.find(g,"\049\050\051\052\053\054\055\056\057\048")and lotTest[3]==nil))then SendAddonMessage("\078\083\071\097\100\100",D..(" "..versAdd),"\103\117\105\108\100")end if string.find(g,D)and(testGM~=nil and string.find(g,"\208\191\208\190\208\186\208\176\208\182\208\184\208\188\208\189\208\181"))then SendChatMessage(M,"\079\070\070\073\067\069\082",nil,1)end end)
